package com.kolaxy.hytrix;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.feign.EnableFeignClients;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;

@EnableFeignClients
@SpringCloudApplication
public class EurekaConsumerFeignHytrixApplication {

    public static void main(String[] args) {
        new SpringApplicationBuilder(EurekaConsumerFeignHytrixApplication.class).run(args);
    }
}
